package ylsb.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ylsb.model.Haocaijieguo;
import ylsb.model.HaocaijieguoExample;
import ylsb.model.YltpJieguo;

public interface HaocaijieguoMapper {

    Object getHaocaiduibiaoResultCount(@Param("xiangmuid") String mmxiangmuId,
                                       @Param("userid") String mmuserId,
                                       @Param("result") String mmresult);


    List<Map<String, Object>> findByxiangmuId(@Param("xiangmuid") String mmxiangmuId);


    List<Map<String, Object>> getAgreeListByXiangMuIdAndPinZhong(@Param("xiangmuid") String mmxiangmuId,
                                                                 @Param("pinzhong") int mmpinzhong);

    int countByExample(HaocaijieguoExample example);

    int deleteByExample(HaocaijieguoExample example);

    int insert(Haocaijieguo record);

    int insertSelective(Haocaijieguo record);

    List<Haocaijieguo> selectByExample(HaocaijieguoExample example);

    int updateByExampleSelective(@Param("record") Haocaijieguo record, @Param("example") HaocaijieguoExample example);

    int updateByExample(@Param("record") Haocaijieguo record, @Param("example") HaocaijieguoExample example);

    int updateByPrimaryKeySelective(Haocaijieguo record);
}